package User;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * User: 花海
 * Date: 2022-08-12
 * Time: 22:39
 */
public class Customer extends User{
    public Customer(String name) {
        super(name);
    }

    @Override
    public int menu() {
        System.out.println("欢迎使用借阅者系统");
        System.out.println("请选择功能");
        System.out.println("1.查找图书");
        System.out.println("2.借阅图书");
        System.out.println("3.归还图书");
        System.out.println("0.退出系统");
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入你的选择");
        int choice=sc.nextInt();
        return choice;
    }
}
